<admintpl file="header" />
</head>
<body>
<div class="wrap js-check-wrap">
    <ul class="nav nav-tabs">
        <ul class="nav nav-tabs">
            <li class="active"><a href="{:U('zhanfa/index')}">战法列表</a></li>
            <li><a href="{:U('zhanfa/add')}">添加战法</a></li>

        </ul>
    </ul>
    <form class="form well" method="post">
        <div class="controls">
            键值：<input type="text" name="title" value="{$map['title']}"/>
            内容关键词：<input type="text" name="content" value="{$map['content']}"/>
        </div>
        <a class="btn" href="{:U('zhanfa/index')}">{:L('BACK')}</a>
        <button type="submit" class="btn btn-primary">{:L('SEARCH')}</button>
    </form>

    <table class="table table-hover table-bordered table-list" id="menus-table">
        <thead>
        <tr>
            <th width="60">id</th>
            <th width="140">标题</th>
            <th>内容</th>
            <th>下载地址</th>
            <th>创建时间</th>
            <th>操作</th>
        </tr>
        </thead>
        <tbody>
        <foreach name="data" item="vo">
            <tr>
                <td>{$vo.id}</td>
                <td>{$vo.title}</td>
                <td>{$vo.content}</td>
                <td>{$vo.url}</td>
                <td>{$vo.create_time}</td>
                <td>
                    <a href="{:U("zhanfa/editor",array("id" => $vo['id']))}">编辑</a> |
                    <a href="{:U("zhanfa/del",array("id" => $vo['id']))}">删除</a> |

                </td>
            </tr>
        </foreach>
        </tbody>
    </table>
    <div class="pagination">{$Page}</div>
</div>
<script src="__PUBLIC__/js/common.js"></script>
</body>
</html>